home *** CD-ROM | disk | FTP | other *** search
/ 3D GFX / 3D GFX.iso / pcutils / os2 / jview / jview.hlp (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1995-12-31  |  79.8 KB  |  1,996 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. JView Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. JView is an image viewing system designed specifically for the OS/2 operating 
  5. system.  It handles are variety of image formats and is designed to work in an 
  6. 8 bit or higher graphics system. Every effort has been made to provide help 
  7. on-line so that everything you need is a mouse click away. 
  8.  
  9. One of the most unique aspects of JView is that it has been designed in a 
  10. modular fashion.  Functions and utilities can be added at any time, allowing 
  11. the end user to increase the power of JView without constantly having to 
  12. purchase upgrades.  An open standard for adding modules has been provided, 
  13. allowing anyone (even you) to write your own functions. So while the base 
  14. application just reads and write images, you can add a paint kit, scanner 
  15. interface, etc. 
  16.  
  17. The price for the flexibility provided in choosing how to view images is added 
  18. complexity.  Viewing images has been implemented in ways that you may be 
  19. unfamiliar with.  It is probably worth your while to look through the section 
  20. on Viewing Strategies at this time. 
  21.  
  22.  
  23. ΓòÉΓòÉΓòÉ 2. PopUp Menu ΓòÉΓòÉΓòÉ
  24.  
  25. The main menu system is accessed by single clicking the right mouse button. You 
  26. probably figured this out by now. This help subsection is designed to mimic the 
  27. layout of the Popup menu.  Follow the subheadings just as they are presented in 
  28. the menu. 
  29.  
  30.  
  31. ΓòÉΓòÉΓòÉ 2.1. Miscellaneous ΓòÉΓòÉΓòÉ
  32.  
  33. This menu heading leads to several possible submenus.  Generally commands in 
  34. this group are used infrequently and/or deal more with presentation issues than 
  35. specific images. 
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 2.1.1. Create JView.dth ΓòÉΓòÉΓòÉ
  39.  
  40. Create JView.dth file.  This file is needed to convert images so that they 
  41. effectively use the system colormap (your default palette).  The process will 
  42. take around a minute, depending on your system.  You may specify low or high 
  43. CPU usage and can abort the process at any time.  The file created is used in 
  44. conjunction with the JView.pal file.  To assure an accurate map of the system 
  45. colormap it is imperative that before you run this option that you shutdown 
  46. JView and ANY OTHER GRAPHICS PROGRAMS.  Next, delete the file JView.pal.  Now 
  47. you can startup JView and run this option.  You will only need to run this 
  48. option once or whenever you change graphics cards.  While the file creation is 
  49. running you may use your computer as you normally would, even for running 
  50. graphics applications.  You will probably experience sluggishness until the 
  51. process has finished unless you choose low CPU use. 
  52.  
  53. On some systems the information about the system palette will not be available 
  54. if the graphics systems is currently in 15 bit or higher (65,000 colors) mode. 
  55. If you have your system setup to run 15 bit graphics (or higher) and run this 
  56. option as directed above, and get particularly bad results you may need to 
  57. first reset your system so that it displays a maximum of 256 colors.  Follow 
  58. the above procedure and after the process is complete you may reset your 
  59. graphics systems to any desired level.  You should understand that if you 
  60. usually run your system in 15 bit or higher graphics mode then there is no real 
  61. point in ever specifying that images be displayed with system colors.  The 
  62. possible exception to this is that you will need the JView.dth file if you are 
  63. deliberately trying to convert an image into the system palette. 
  64.  
  65.  
  66. ΓòÉΓòÉΓòÉ 2.1.2. Float ΓòÉΓòÉΓòÉ
  67.  
  68. An interesting little function.  It is on when there is a check mark by this 
  69. entry in the menu.  This causes the main (image) window to stay on top of all 
  70. other application windows. Thus, when you are typing at your word processor, 
  71. the JView window will stay on top of the application, but the application will 
  72. still be active, and thus getting keyboard and mouse inputs!  Well, some of us 
  73. here like it anyway.  Slight hit on the old CPU but it doesn't seem too bad. 
  74. You can use the F key to toggle it on or off.  Its especially nice to turn on 
  75. Float when running a slide show; just put JView in a corner just to keep things 
  76. interesting. 
  77.  
  78.  
  79. ΓòÉΓòÉΓòÉ 2.1.3. Image Information ΓòÉΓòÉΓòÉ
  80.  
  81. This command brings up a window that shows information about the currently 
  82. displayed image.  The information consists of: 
  83.  
  84. o The Filename 
  85. o Format of the image file and filesize 
  86. o Resolution of the image in memory 
  87. o Resolution of the image as displayed 
  88. o Color information 
  89. o An box that occasionally will show warning messages, you can use the arrow 
  90.   keys if the information isn't all displayed 
  91. o A history list box of manipulations that have been performed on the current 
  92.   image. 
  93.  
  94. The Information Box will remain around as long as JView is alive or until the 
  95. Hide button is pressed. 
  96.  
  97. The information categories are pretty self explanatory, but for clarity 
  98. Resolution refers to the resolution of the image as it is currently stored in 
  99. memory, while Display Res. is the resolution that the image is currently being 
  100. displayed at. 
  101.  
  102.  
  103. ΓòÉΓòÉΓòÉ 2.1.4. Load Add On... & Load OS/2 Image ... ΓòÉΓòÉΓòÉ
  104.  
  105. These two menu commands may appear depending on which options your have set for 
  106. JView.  They are explained in Optimizing Performance. 
  107.  
  108.  
  109. ΓòÉΓòÉΓòÉ 2.1.5. Move Window ΓòÉΓòÉΓòÉ
  110.  
  111. This mimics the effects that result when the sytem menu command Move (Alt + F7) 
  112. is used.  The reason that it is duplicated here is that if you turn off the 
  113. Title Bar the system menu disappears and you would lose the ability to move the 
  114. window. 
  115.  
  116.  
  117. ΓòÉΓòÉΓòÉ 2.1.6. Refresh ΓòÉΓòÉΓòÉ
  118.  
  119. This simply causes the image window to be repainted. 
  120.  
  121.  
  122. ΓòÉΓòÉΓòÉ 2.1.7. Save Window Positions ΓòÉΓòÉΓòÉ
  123.  
  124. Save Window Positions will store the current window locations of JView. This 
  125. includes the File Open Dialog, the Information Dialog, and the main image 
  126. window.  These stored positions will be used at startup. 
  127.  
  128.  
  129. ΓòÉΓòÉΓòÉ 2.1.8. Toggle Title Bar ΓòÉΓòÉΓòÉ
  130.  
  131. Toggle Title Bar will turn on and off the main title bar.  Note that you can 
  132. NOT MINIMIZE JView when the Title Bar is off. 
  133.  
  134.  
  135. ΓòÉΓòÉΓòÉ 2.2. Files ΓòÉΓòÉΓòÉ
  136.  
  137. This menu command does nothing by itself except bring up a second pull down 
  138. menu which has commands generally relating to files.  Slide Show.  Open a file. 
  139. Save a file, etc. 
  140.  
  141.  
  142. ΓòÉΓòÉΓòÉ 2.2.1. Batch Conversion ΓòÉΓòÉΓòÉ
  143.  
  144. This feature allows you to convert a series of files from their current format 
  145. style to a new type.  The operation of the dialog is virtually identical to the 
  146. SlideShow Dialog so you should first familiarize yourself with its operation 
  147. before proceeding. 
  148.  
  149. The differences between the operation of the SlideShow Dialog and the Batch 
  150. Conversion Dialog are found in the Options.  When Options is pushed, a new 
  151. dialog is presented and this is where all the significant information is 
  152. entered. 
  153.  
  154.  
  155. ΓòÉΓòÉΓòÉ 2.2.1.1. Batch Conversion Options ΓòÉΓòÉΓòÉ
  156.  
  157. The layout of this dialog is very similar to the File Save Dialog.  Since batch 
  158. conversions are a more advanced feature than saving a single file, it is 
  159. assumed that you are familiar with the methods involved in saving a single 
  160. file. 
  161.  
  162. The options unique to batch conversions deal with what should be done with the 
  163. files in question. 
  164.  
  165. Delete source file will cause the file that is being read from to be deleted if 
  166. the conversion is successful.  Obviously, this should not be used on critical 
  167. files.  It is safer to do your conversion, verify that the converted files were 
  168. converted correctly and then delete the original files. 
  169.  
  170. Warn on overwrite and Overwrite target are mutually exclusive options.  With 
  171. Warn on overwrite selected, if a file exists with the same name as a file that 
  172. you are trying to create with the conversion, you will be prompted about wether 
  173. to overwrite the file.  This will prevent you from inadvertently losing a file. 
  174. Selecting Overwrite means that you know what you are doing and any file that 
  175. already exists will be overwritten without protest. 
  176.  
  177.  
  178. ΓòÉΓòÉΓòÉ 2.2.2. Open File Dialog ΓòÉΓòÉΓòÉ
  179.  
  180. This dialog is one of the more useful features of JView.  The dialog runs 
  181. independently of the main window.  You can select a new file at any time unless 
  182. JView prevents it, and generally you will only be prevented from opening a file 
  183. if JView is already trying to open a file. 
  184.  
  185. File Mask  In the Options Notebook you can decide what you would like the 
  186. default setting for this to be.  You can change the value in this entry field 
  187. at any time but the change will only be effective while the current JView 
  188. session is active.  Typically you would just enter *.* or *.bmp here.  You can 
  189. also use *.bmp;*.gif to select multiple file extensions.  If you want you could 
  190. also type in the name of a file or the full name ala c:\file\my.bmp.  Further, 
  191. you can change to a new directory fairly quickly by using c:\files\go_here\*.* 
  192. - This would change to the approprate drive and directory and also set the File 
  193. Mask to *.*. Remember to hit the Open button after you make your changes in 
  194. order for them to take effect. 
  195.  
  196. General Idea  Consider this information for the GUI impaired.  A file can be 
  197. selected by typing the file name into the File Mask entry field or by double 
  198. clicking on the appropriate file in the Files list box.  Directories are 
  199. changed by double clicking in the directory listbox, using the Quick Dir or by 
  200. using the H Dir (a feature discussed below).  Drives are changed using the pull 
  201. down listbox. The file mask entry field is where, in addition to simply typing 
  202. a file name, you may enter wild cards, like *.gif or multiple wild cards 
  203. separated by a ; or , for example *.gi*;*.bmp;*.tga (no spaces - the space bar 
  204. can optionally be set as a hot key to minimize JView!)  A list of only those 
  205. files that match the mask will be shown in the files list box.  Files can be 
  206. shown in either alphabetical or dated format by selecting the appropriate 
  207. button. 
  208.  
  209. Confirm on delete does what it says.  If you try and delete a file, it will 
  210. prompt you first.  Turn it off and delete will just kill the file when you hit 
  211. the Delete button.  BEWARE!!! The file deleted is the file shown in the current 
  212. file area (at the upper left side of the dialog) not necessarily the file 
  213. currently being viewed.  If you only single click on a file in the files list 
  214. box it will be selected as the current file even though you have not yet loaded 
  215. it. Why does this feature exist?  Often a series of images are less than 
  216. desirable, so the ability to cream'em all at once is useful.  Just leave the 
  217. Confirm on Delete attribute on if your not sure, you will always be prompted. 
  218.  
  219. Browse Mode keeps the dialog open when not in use.  This is useful if you are 
  220. going to look at a variety of files and don't want to keep opening the dialog 
  221. each time.  When Browse Mode is active, hitting Cancel has features discussed 
  222. below. When Browse Mode is off hitting Cancel will close the Open File dialog. 
  223. Most often it will be faster just to minimize the Open File Dialog if you want 
  224. it out of the way. 
  225.  
  226. Cancel  When Browse Mode is not checked this will just dismiss the Open File 
  227. Dialog.  When Browse Mode is active, Cancel will have two possible effects.  If 
  228. an image is currently being loaded, Cancel will stop the file read and load the 
  229. default JView image.  If an image is not being loaded, Cancel will cause the 
  230. main window to rise to the top (become active). 
  231.  
  232. H File is an historical listing of all directories you have visited in the 
  233. current JView session.  If you have gone to several directories and will go 
  234. back to them, use this listbox and save yourself some keystrokes (or mouse 
  235. clicks). 
  236.  
  237. Low Priority Open will cause the selected file to be read in at low priority, 
  238. giving other processes more of the CPU.  This option gets applied even while a 
  239. file is currently being read.  Thus, you can change the priority of a file read 
  240. by toggling this switch. See the discussion about Low Priority Threads. 
  241.  
  242. Preview Mode will use the fastest method possible to read a file.  The image 
  243. will always be converted to grayscale and for certain file formats the image 
  244. may be a scaled down version of the full file. 
  245.  
  246. There are two buttons on the lower left side of the dialog box labeled N and P. 
  247. These buttons will cause the file either next or previous relative to the 
  248. currently highlighted file to be opened.  Both will cycle to either the 
  249. beginning or end of the list when going off the end.  They have accelerator 
  250. keys associated with them. 
  251.  
  252. JView will attempt to read files that other applications are currently writing. 
  253. For most file types, JView can handle truncated images and so there will not be 
  254. a problem.  Generally speaking a certain minimum (header info) is needed. 
  255. Usually there will not be a problem, but you never know. 
  256.  
  257. To the right of all the obvious buttons and to the left of the icon, there is 
  258. the I button.  This stands for information.  After you have highlighted a file 
  259. in the files listbox, you can hit the I button to find out the file format, and 
  260. the resolution of the image.  This way you can test an unknown file before 
  261. loading to see if it has some rediculous resolution, like 10000 by 10000 which 
  262. would claim 100 megs of memory if you tried to load it.  If you have previously 
  263. Iconified the file, the icon will be displayed by hiding the directory listbox. 
  264. Dry your little eyes, the directory listbox is just hiding and will come back 
  265. to visit you after you click on any file in the file listbox, except the 
  266. currently selected one.  A potential problem exists if you only have one file 
  267. in the directory and you view the icon.  The icon will display, but you won't 
  268. be able to change directories because the directory listbox will be hidden, but 
  269. you won't be able to unhide it because you won't be able to click on a new file 
  270. in the file listbox.  Whew, thats confusing!  You can get around this by 
  271. switching drives,  or using your QuickDir. 
  272.  
  273. One last item is the Quick Dir listbox.  Go back on click on Quick Dir for the 
  274. description. 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 2.2.3. Printing ΓòÉΓòÉΓòÉ
  278.  
  279. The quality of the prints you create will be function of trial and error at 
  280. first. On black and white printers you may wish to convert the image to black 
  281. and white or gray before using some of the more advanced tools available. 
  282. Experiment at first so that you gain a feel for how best to manipulate your 
  283. images for optimum printing. 
  284.  
  285. Printing is fully multi-threaded so that you may immediately begin another task 
  286. after initiating a print job - even loading in a new image. 
  287.  
  288. The challenging part about printing is to do so without distorting your image 
  289. inadvertently.  This is why there is a readout on the top of the print utility 
  290. showing how much the image will distort if it is printed as currently 
  291. configured.  In this context distortion means the aspect ratio is not unity. 
  292. Usually you will want to make the distortion zero (an aspect ratio of 1), but 
  293. that's up to you. 
  294.  
  295. The Distortion of apect ratio tells you how much your image is being squished 
  296. because of the margins you have called for.  Basically, 0 means that your image 
  297. will print true, while positive values indicate the sides are squished in, a 
  298. negative value means the top is squished down. 
  299.  
  300. You select a printer by clicking on the appropriate printer name shown in the 
  301. Printers listbox.  Double clicking on the printer will allow you to edit its 
  302. defaults.  You have the option of specifying a default printer (see Options). 
  303. If none has been selected, the system default printer will initially be 
  304. selected.  If you modify the settings or change printers, those changes will 
  305. remain in force for the entire session, but are discarded after the JView is 
  306. closed. 
  307.  
  308. You have the ability to specify four distances, the left and top margins and 
  309. the width and height of the image.  Additionally, you may modify the colors 
  310. that will be used for printing.  If you choose black and white, a Floyd 
  311. Steinberg black and white dither is applied.  If you choose to go from 24 bit 
  312. to 8 bit color, the method for conversion will depend upon that which has been 
  313. chosen under the general options configuration for doing 24 to 8 bit 
  314. quantization. 
  315.  
  316.  
  317. ΓòÉΓòÉΓòÉ 2.2.4. Saving an Image ΓòÉΓòÉΓòÉ
  318.  
  319. The File Save dialog is pretty simple but deserves some explanation.  The Quick 
  320. Dir listbox needs some detailed explanation that can be accessed by clicking on 
  321. Quick Dir.  Drive, directory, and files are listings or displays of what is 
  322. currently available.  You can enter any valid directory/path combo in the Save 
  323. as: entry box.  The file listing is for information purposes mostly, but if you 
  324. do click on the file it will become the entry in the Save as: box. 
  325.  
  326. When you select a file type, that appropriate extension is added to or changed 
  327. for the text in the Save as: entry field. 
  328.  
  329. File types available are: 
  330.  
  331. o GIF 
  332. o JPEG 
  333. o OS2 BMP (RLE & uncompressed) 
  334. o Windoze BMP (RLE & uncompressed) 
  335. o PBM (raw and ASCII) 
  336. o X11 BMP 
  337. o Sun Raster 
  338. o TARGA (RLE & uncompressed) 
  339. o TIFF 
  340. o PCX 
  341.  
  342. All are pretty self explanatory, but it should be noted that for Windows and 
  343. OS2 bitmaps both regular and RLE formats are written.  RLE formats will do 
  344. little good on real life images with more than 16 colors.  In addition to these 
  345. built-in formats, you have the option of tying into the file formats that come 
  346. with Warp's BonusPak.  See Additional File Formats for details. 
  347.  
  348. There are three options located at the bottom of the dialog.  Save at displayed 
  349. size will write the image at whatever resolution the image is currently being 
  350. displayed with.  This is contrasted with the resolution that the image is 
  351. stored in memory as.  See Viewing Strategies  for details. 
  352.  
  353. The second option is to Save at Low Priority.  Since JView is multithreaded you 
  354. can save a file and while it is being written to disk, you can go ahead 
  355. (yippy!) and start load a different image.  Low priority will write the current 
  356. file a little slower (in theory anyway) so that you (or other processes) can 
  357. use the CPU to do more important things, like loading/looking at another image. 
  358. (See the discussion about Low Priority Threads).  Only one image can be saved 
  359. at a time.  The menu command to save an image will be inaccessible until JView 
  360. has finished saving the current file.  During the time an image is being saved 
  361. the border of JView will turn red or blue depending on whether JView is the 
  362. active application.  When the save is complete, JView will return to its 
  363. default border colors.  In this way you will know when a file save is complete. 
  364. If you try and exit JView before a save is finished, you will get a warning 
  365. message and the option of finishing the save before termination. 
  366.  
  367. The third option is Iconify which will create an icon version of the image and 
  368. make it the icon for the file.  This way you get an image that is just big 
  369. enough for you to get an idea of what the file is like.  See the iconify 
  370. description for important details.  When iconify is selected here, you do not 
  371. get to use a cropping rectangle to indicate what area of the image becomes the 
  372. icon, the whole image is used. 
  373.  
  374. Colors  The colors option will cause the image to be saved in the appropriate 
  375. number of indicated colors.  The saved imaged is affected, but the current 
  376. image will remain unchanged. 
  377.  
  378.  
  379. ΓòÉΓòÉΓòÉ 2.2.5. SlideShow ΓòÉΓòÉΓòÉ
  380.  
  381. Slide Show is used to display a series of images; either a new image is 
  382. displayed after a certain amount of time or after a certain signal is given 
  383. (manual mode).  There are three ways to start a slide show.  One is to use the 
  384. Slide Show option.  Two is to drag a JView slide show file onto JView or to 
  385. open such a file with the Open File dialog.  Three is to drag and drop multiple 
  386. files onto JView. 
  387.  
  388. The Drive listbox changes the current drive. 
  389.  
  390. Quick Dir is explained elsewhere. 
  391.  
  392. Directory is a listbox of the current directory.  Selecting an item in this 
  393. listbox will cause a change to that directory. 
  394.  
  395. Note:  Selecting the current directory will deselect all the files highlighted 
  396. in the Files listbox. 
  397.  
  398. The basic idea is to select a file that you want included in the display. You 
  399. can select a specific file by clicking on it in the File list box.  You may 
  400. select multiple files at one time.  A file is selected when it is highlighted. 
  401.  
  402. Note:  If you double click on a file, it is immediately selected into the 
  403. Selected Files listbox. 
  404.  
  405. If you have mistakenly highlighted a file, clicking on it again will 
  406. de-highlight it.  In addition to going after individual files in the Files 
  407. listbox, you may use any or all of the four buttons located below it.  *.gif 
  408. will highlight all files that have the .gif extension.  Similar for *.jpg while 
  409. *.* selects everything.  The Mask-> button will take whatever you have entered 
  410. in the entryfield to its right and use it for finding files.  You DO NOT use 
  411. wild card symbols here (*, ?). 
  412.  
  413. Example:  Using .gif as the mask would highlight all files that have .gif in 
  414. them.  This would include 
  415. JView.gif 
  416. myfile.old.gif 
  417. 1.gif.jpg 
  418. Using t as the mask would select any file with a t in it. 
  419.  
  420. Once you have highlighted a file, hitting the Add-> button will select it into 
  421. the Selected Files listbox. The files listed there are the ones that will be 
  422. used in the actual slide show. 
  423.  
  424. If you have decided that you don't want to include a file that is listed in the 
  425. Selected Files listbox, highlight it and use the <-Remove button to eliminate 
  426. it. 
  427.  
  428. Note:  You can select multiple copies of the same file into the Selected Files 
  429. listbox. 
  430.  
  431. The Start button will begin the slide show. 
  432.  
  433. There are two additional buttons, Save and Load.  These are for storing and 
  434. retrieving a SlideShow file selection.  When a Slide Show file is saved, all 
  435. the files listed and the current Slide Show options are stored.  The default 
  436. extension for the file created is .sls but any file name can be used.  When 
  437. loading a file, all entries are placed into the selected listbox, including any 
  438. that are already there.  The Slide Show options are updated to those that were 
  439. in the file if any existed.  You can also start a Slide Show by selecting a 
  440. Slide Show file from the File Open Dialog or by dragging and dropping such a 
  441. file onto the JView icon or dragging and dropping multiple files onto JView. 
  442.  
  443. Be aware that you can modify your selected options even when SlideShow is 
  444. running by selecting Options off the Main Menu. 
  445.  
  446. Note:  When JView is minimized the SlideShow will pause after the next image 
  447. has been read in. 
  448.  
  449. You can skip ahead to the next image in Timed mode by double clicking with the 
  450. left mouse button or hitting the N key. 
  451.  
  452.  
  453. ΓòÉΓòÉΓòÉ 2.2.5.1. SlideShow Options ΓòÉΓòÉΓòÉ
  454.  
  455. You can specify the Time interval between images being displayed.  This field 
  456. is ignored if you select manual mode.  The actual time interval is calculated 
  457. from the time the most recent image is displayed until the next image will 
  458. start to be read.  Because of time it take to read an image, the actual 
  459. interval between image displays may be quite different than that requested. 
  460.  
  461. There are five different ways of having the image displayed.  The first three 
  462. are grouped with the ability to force them not to change their window size. 
  463. The fixed window size option does not affect the other two options.  Both Keep 
  464. True Aspect Ratio, Aspect Ratio can Distort, and Use Scroll Bars will resize up 
  465. to the size of the screen with each new file load unless Fixed Window Size is 
  466. specified. Keep True Aspect Ratio will always display the image in its correct 
  467. height vs width ratio.  If Fixed Window Size is selected, the image may be 
  468. padded with black space on the sides or top and bottom as needed. Aspect Ratio 
  469. can Distort will resize the window to the correct size if Fixed Window Size if 
  470. NOT selected.  Any subsequent resizes of the current image will force the image 
  471. to fit inside the window.  If Fixed Window Size is selected, the image will 
  472. always fit exactly into the window. Use Scroll Bars will use scroll bars to 
  473. control the display of the image. 
  474.  
  475. The alternative two display options are size limited.  Auto Resize with 
  476. Constant Width will always keep the image at the current width of the window, 
  477. small images will expand appropriately while large ones will shrink.  The upper 
  478. left corner of the window is considered fixed, while the base is allowed to 
  479. float.  In this way the window will resize (as far down as the bottom of the 
  480. screen) to keep the aspect ratio correct. If the correct aspect ratio cannot be 
  481. achieved because the image would be too large, the image width will be padded. 
  482. Auto Resize with Constant Height is similar except the height of the window 
  483. will not change.  Again, the upper left corner is considered fixed and will not 
  484. be moved by JView.  The window will expand to the far right side of the screen 
  485. if needed. 
  486.  
  487. The Loop option will cause the slide show to begin over again once all the 
  488. images have been cycled through. 
  489.  
  490. Randomize files will cause the slide show images to appear in a random order, 
  491. otherwise they appear in the order listed in the Selected Files listbox shown 
  492. in the SlideShow dialog. 
  493.  
  494. You can also specify whether you want the Slide Show to run at low priority. 
  495. This way your other applications will not be as affected during a file read. 
  496. See the discusstion about Low Priority Threads. 
  497.  
  498. While not an option that can be specified here you do have the ability to use 
  499. the Float function once the Slide Show has started.  Access the command by 
  500. using the right mouse button. 
  501.  
  502. Any of these options can be changed while the SlideShow is running.  Use the 
  503. right mouse button to bring up the appropriate menu. 
  504.  
  505.  
  506. ΓòÉΓòÉΓòÉ 2.2.6. Iconify & UnIconify ΓòÉΓòÉΓòÉ
  507.  
  508. This little puppy allows you to associate a miniature version of your image or 
  509. part of your image with the image file.  The icon is placed in the extended 
  510. attributes of the file and (depending on the resolution you have set, See 
  511. Options) adds about 5K to the file length.  When you open the drives 
  512. application, all the images that you have iconified will have little itsy-bitsy 
  513. versions of themselves displayed.  You decide at what resolution to store the 
  514. icon at. (As far as the drives application goes, the resolution that it will be 
  515. displayed at is a function of your screen resolution.  For instance, if you use 
  516. a 640 by 480 screen, icons are displayed at 32 by 32, while 1024x768 screens 
  517. get icons of 40 by 40.) 
  518.  
  519. The icon information is also displayed when you use the "I" key on the open 
  520. file dialog.  This will expand the icon to display at 100 by 100. 
  521.  
  522. Normally the entire image is used to make the icon, but if a cropping rectangle 
  523. is present only that part of the image will be used. 
  524.  
  525. UnIconify will delete the icon information from the image file. 
  526.  
  527.  
  528. ΓòÉΓòÉΓòÉ <hidden> Quit ΓòÉΓòÉΓòÉ
  529.  
  530. What the heck are you thinking!  Quit - it quits the bleedin' program.  Did the 
  531. lack of an s confuse you.  Do you need a little icon that shows an exit sign! 
  532. I'm sorry, but were going to have to hold you back a semester.  Please have 
  533. your parents contact the principal's office to schedule a meeting for next 
  534. week. 
  535.  
  536.  
  537. ΓòÉΓòÉΓòÉ 2.3. Edit ΓòÉΓòÉΓòÉ
  538.  
  539. The commands listed under this heading will typically permanently change your 
  540. image, with the exception of Copying to the Clipboard (Copy...). 
  541.  
  542.  
  543. ΓòÉΓòÉΓòÉ 2.3.1. Copy and Paste ΓòÉΓòÉΓòÉ
  544.  
  545. The pathway to the copy and paste commands. 
  546.  
  547.  
  548. ΓòÉΓòÉΓòÉ 2.3.1.1. Copy... ΓòÉΓòÉΓòÉ
  549.  
  550. Copy to the clipboard.  The image will be copied to the system's clipboard.  If 
  551. your image is 8 bit, you will be asked whether you also want to copy the 
  552. image's palette. Some applications don't look for a palette and so the image 
  553. will get a distorted colormap if you tell JView to include the palette.  If you 
  554. don't copy in a palette, JView will convert the image to the system colors. 
  555.  
  556. If a cropping region is present, only the image inside the cropping region and 
  557. under the the cropping lines gets copied. 
  558.  
  559.  
  560. ΓòÉΓòÉΓòÉ 2.3.1.2. Copy Special ΓòÉΓòÉΓòÉ
  561.  
  562. Copy to the clipboard using JView's own special format. If you are planning on 
  563. doing cut and paste between JView applications then use this method instead of 
  564. regular copy.  All colors and crop regions are preserved. 
  565.  
  566.  
  567. ΓòÉΓòÉΓòÉ 2.3.1.3. Paste ΓòÉΓòÉΓòÉ
  568.  
  569. Paste from the clipboard.  Whatever image JView is currently displaying will be 
  570. lost. 
  571.  
  572.  
  573. ΓòÉΓòÉΓòÉ 2.3.2. Resize ΓòÉΓòÉΓòÉ
  574.  
  575. Resizing is fairly self explanatory.  If you select one of the screen sizes, 
  576. the image will be either scaled up or down to exactly fill that screen size 
  577. without distortion (the image will not be padded, rather one dimension will fit 
  578. while the other will fit exactly or be left too small). 
  579.  
  580. If you choose not to use a screen size, you can specify any Custom size. If you 
  581. check Keep aspect ratio true, amazingly enough the aspect ratio will remain 
  582. constant. 
  583.  
  584. You have two choices for the method used to resize.  If you select Bilinear 
  585. Blending, approximations to a given pixel will be calculated by creation of a 
  586. grid mapping the old pixels to the new.  The effect is that the pixelization 
  587. effect that occurs when images are scaled up by large factors will not occur. 
  588. The image will become slightly blurry though.  It is also a time consuming 
  589. method.  If Bilinear Blending is not selected, then a quick method is used. 
  590.  
  591. If you are running Biliner Blending you will have the chance to abort the 
  592. process by hitting the Cancel button. 
  593.  
  594.  
  595. ΓòÉΓòÉΓòÉ 2.3.3. Auto Crop ΓòÉΓòÉΓòÉ
  596.  
  597. In the options dialog you can specify a default crop value.  This value is used 
  598. by Auto Crop to do its cropping.  The logic of the auto crop is that you have 
  599. an image with borders on it that you wish removed.  If the borders are a single 
  600. color that is different than the colors used in your image, they can be easily 
  601. detected and deleted. The cropping value mentioned above comes into play 
  602. because the borders may not be uniform in color.  See Custom Crop for an 
  603. explanation of the value mentioned above. 
  604.  
  605. There is no going back from Auto Crop, it is best used when you have a series 
  606. of images and can predict how the Auto Crop will affect them. 
  607.  
  608.  
  609. ΓòÉΓòÉΓòÉ 2.3.4. Crop ΓòÉΓòÉΓòÉ
  610.  
  611. Crop will delete all the areas that are outside the currently selected region. 
  612. You can use any crop style that you like, not just rectangles.  If you are 
  613. using a crop method besides rectangles, blank areas of the image will be filled 
  614. in with the default background color specified in Options. 
  615.  
  616.  
  617. ΓòÉΓòÉΓòÉ 2.3.5. Custom Crop ΓòÉΓòÉΓòÉ
  618.  
  619. Custom Crop performs the same function as Auto Cropping mentioned in the 
  620. previous section.  Unlike Auto Crop, you can specify the tolerance value and 
  621. also undo the results. 
  622.  
  623. The tolerance value works based on the premiss that if a give row or column of 
  624. your image is mostly one color, then it is probably a border and should be 
  625. deleted. What is mostly?  That is where the tolerance comes in.  The tolerance 
  626. is a percentage of the pixels in question being uniform in color.  For 
  627. instance, if you have a tolerance value of 100, then you are saying that all 
  628. the pixels in question must be the same color. A value of 95 means that up to 
  629. 5% of the pixels can be different from one another but at least 95% need to be 
  630. the same color.  If the pixels vary too much then the line is ignored. 
  631.  
  632.  
  633. ΓòÉΓòÉΓòÉ 2.4. Manipulations ΓòÉΓòÉΓòÉ
  634.  
  635. This menu command does nothing but bring down another pull down menu.  The 
  636. commands on that menu are used for changing or manipulating the current image. 
  637. Many have keyboard equivalents.  All these commands can be undone by using 
  638. another command or the same command twice, i.e. using rotate twice. 
  639.  
  640.  
  641. ΓòÉΓòÉΓòÉ 2.4.1. Flip ΓòÉΓòÉΓòÉ
  642.  
  643. Depending on the option selected, the current image is flipped (mirrored) 
  644. either vertically or horizontally. 
  645.  
  646.  
  647. ΓòÉΓòÉΓòÉ 2.4.2. Rotate ΓòÉΓòÉΓòÉ
  648.  
  649. Rotation is either clockwise or counterclockwise.  Rotation takes place in 90 
  650. degree increments. The easiest way to undo the affects of this command is to 
  651. pick up your monitor and rotate it 90 degrees in the opposite direction of the 
  652. way you started.  But you didn't come all this way just to read that, did you? 
  653.  
  654.  
  655. ΓòÉΓòÉΓòÉ 2.4.3. Zoom By Factor ΓòÉΓòÉΓòÉ
  656.  
  657. If you have chosen to display images by using scroll bars, you have the ability 
  658. to specify a zoom factor.  This affects the entire image.  100% would display 
  659. the image at its true size. 
  660.  
  661.  
  662. ΓòÉΓòÉΓòÉ 2.4.4. Zooming (Zoom In) ΓòÉΓòÉΓòÉ
  663.  
  664. Zooming allows the user to zoom in on a particular area of the image.  That 
  665. area is first selected by using the left mouse button and dragging out the 
  666. appropriate rectangle.  After a zoom has been performed, the menu option will 
  667. change to include a Zoom Out option.  The original image is unaffected by 
  668. zooming, as opposed to  Cropping .  You can keep on zooming in to your hearts 
  669. content, but Zooming Out goes all the way back to the original image.  You have 
  670. the ability to edit the zoomed image and then have those changes remain in 
  671. force once you have zoomed back out. 
  672.  
  673.  
  674. ΓòÉΓòÉΓòÉ 2.5. Options ΓòÉΓòÉΓòÉ
  675.  
  676. For the main Options Notebook you check or fill in the various selections as 
  677. you see fit and then select the action you would like with one of the four 
  678. buttons on the botton of the notebook.  Those buttons are: 
  679.  
  680. o Apply (Options become active, but are not saved) 
  681. o Save (Options saved but not applied) 
  682. o Cancel (duh!) 
  683. o Help (duh, level 2) 
  684.  
  685.  
  686. ΓòÉΓòÉΓòÉ 2.5.1. Cropping ΓòÉΓòÉΓòÉ
  687.  
  688. These choices relate to the creation of cropping regions/paths and 
  689. auto-cropping. 
  690.  
  691. Auto cropping is a method of having the computer decide when boundary areas 
  692. should be cropped.  The value here is the default value for use when 
  693. auto-cropping. 
  694.  
  695. Background color refers to the color that will be used as fill when a 
  696. non-rectangular crop if performed.  The values entered represent the color in 
  697. RGB space where each value of red, green, and blue varies between 0 and 255 
  698. with all 0 being black and all 255 being white.  Double-click on the the 
  699. colorwell to edit the Background Color. 
  700.  
  701.  
  702. ΓòÉΓòÉΓòÉ 2.5.2. Directories Option ΓòÉΓòÉΓòÉ
  703.  
  704. If you useually like to save your images in the same directory, specify a drive 
  705. and directory here.  Each time you save a file, this directory will be the 
  706. default.  Leave blank to have this ignored.  The entry must be in the form of 
  707. drive and directory (c:\images). 
  708.  
  709. Where would you like to start looking for images on startup?  Leave blank to 
  710. start in current directory.  The entry must be in the form of drive and 
  711. directory (c:\images). 
  712.  
  713. For a detailed description of what Quick Directories do see Quick Dir.  In this 
  714. notebook page you type the desired directory into the entry field and then hit 
  715. the add button.  Similarly, select the directory you want to remove and hit the 
  716. del button to remove that selection. 
  717.  
  718.  
  719. ΓòÉΓòÉΓòÉ 2.5.3. Display Options (Window Sizing) ΓòÉΓòÉΓòÉ
  720.  
  721. These are options which apply to how the images are displayed. 
  722.  
  723. Images can be shown so that the window is scaled to reflect the size of the 
  724. image each time it is loaded - this would mean making Fixed Window Size 
  725. unchecked.  With Fixed Window Size on, the window will not resize when a new 
  726. image is loaded. 
  727.  
  728. Scale, keep true perspective means the width to height ratio remains constant. 
  729. The image gets padded with black if the image will not correctly fit into the 
  730. display window.  With Scale perspective can change  you can stretch the image 
  731. to fit the window. 
  732.  
  733. Use Scroll Bars allows the use of scroll bars.  This is used in combination 
  734. with a zoom factor.  No scaling of the image takes place (other than the 
  735. specified zoom), the scroll bars are used if the image is larger than the 
  736. available window size. 
  737.  
  738.  
  739. ΓòÉΓòÉΓòÉ 2.5.4. Icon ΓòÉΓòÉΓòÉ
  740.  
  741. When you choose to iconfiy a file, the resolution you indicate here is used. 
  742. Higher resolutino will yeild better looking results but will use more storage 
  743. space.  To get an idea of how much space the icon information is using, do a 
  744. directory listing of the file in question and look at the size of the extended 
  745. attributes.  The majority of the extended attributes size will be due to the 
  746. icon.  The numbers you choose here refer to the resolution of the icon. 
  747.  
  748.  
  749. ΓòÉΓòÉΓòÉ 2.5.5. Memory Options ΓòÉΓòÉΓòÉ
  750.  
  751. The purpose of the memory limit option is to keep OS/2 from killing itself. 
  752. Image files are unique in that they can represent a large amount of information 
  753. in a small file by using compression techniques.  When you try and read a file 
  754. that calls for a display resolution of 10,000 by 10,000 in 24 bit mode, then 
  755. JView will need approximately 300 megabytes of memory to display it.  OS/2 will 
  756. try and allocate that memory by use of virtual memory and will most likely 
  757. crash your system and possibly take out a few files in the process (this is 
  758. less a problem under Warp than older versions of OS/2).  To prevent this, this 
  759. option checks requests for memory against a limit that you specify here.  If 
  760. the request is larger than the limit, you have the choice of aborting the file 
  761. read or continuing on. 
  762.  
  763. Memory Check is two parts, a memory size field and a drive entry field. The 
  764. drive field should contain the drive (letter) that you currently have your 
  765. swapper.dat file residing.  (If you don't know then it is almost definitely 
  766. your primary hard drive, C).  The memory size is in bytes, and the default is 
  767. 5,000,000 (5 Megabytes).  Change the value depending on your system 
  768. configuration. The value entered here will be the maximum size of memory to be 
  769. requested before the warning message is shown. 
  770.  
  771. The other option here refers to whether you are willing to give up some 
  772. performance in exchange for less memory usage.  Without getting into the 
  773. gruesome details of how OS/2 stores image information, lets just say sometimes 
  774. there is a need to hold what amounts to two copies of your image data.  If you 
  775. select Low Memory Use then temporary files are used when needed instead of main 
  776. memory.  If you have truly huge amounts of memory on your system (16 megs or 
  777. better) then you might want to turn this off.  Most of us will leave it on. 
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ 2.5.6. Misc Options ΓòÉΓòÉΓòÉ
  781.  
  782. Check for OS/2 Image Readers on Startup  See the Optimizations Section for an 
  783. explanation of this function. 
  784.  
  785. Show Image Info on Startup  Will show the image information dialog upon 
  786. startup.  See Image Infomation. 
  787.  
  788. Show Load Progress shows the current status of file loading, basically a 
  789. percentage of image loaded.  Shown in the window title bar.  Some File formats 
  790. may not show this.  When dithering (quantizing) takes place, messages to that 
  791. affect will be displayed in the Title Bar. 
  792.  
  793. Empty Clipboard Upon Exit When JView puts images into the clipboard (either 
  794. regular or special) they take up a lot of memory.  These images will remain in 
  795. the clipboard until some application removes them or OS/2 is shutdown.  This 
  796. option will empty the clipboard whenever JView is exited. 
  797.  
  798. File Has Changed Warning Enabling this option will cause you to be notified 
  799. when you are about to cause all changes made to an image to be lost.  This 
  800. would happen if you resized the image and then tried to exit JView without 
  801. saving the file first. 
  802.  
  803. Load Optional Dlls on Startup  See the Optimizations Section for an explanation 
  804. of this function. 
  805.  
  806. No Title Bar On Startup will, surprisingly, either turn on or off the titlebar 
  807. when JView first starts up. 
  808.  
  809. Serendipity This is a compatibility feature that causes JView to take on a 
  810. style of appearance that was found in its predecessor, JoeView.  It affects 
  811. aesthetics only and offers no performace gain or penalty. 
  812.  
  813. Space Bar to Minimize  The space bar can be used as a hot key to minize JView - 
  814. a panic key if you will.  This might be undesireable to some, so this can be 
  815. turned on or off.  The space bar signal is used in both the main window and the 
  816. File Open Dialog.  It is not used in any other dialogs. 
  817.  
  818. Bugs are a term used in the software industry to describe a type of 
  819. electrobio-organism that is found in the silicon chips that are present in many 
  820. of the components of your computer system.  These creatures, referred to in the 
  821. trade as tribbles, exist at the electron level and so can't be seen by the 
  822. human eye.  They subsist on the silica on which all electronic chips are made 
  823. and use the cycling of your computer system (turning on and off your computer) 
  824. to drive their reproductive cycles (when your computer is off they are 
  825. "hibernating" and when it is on they go into a reproductive mode - their 
  826. "summer" if you will).  It is for this reason that many professional computer 
  827. users leave their machines on all the time, without the cycling the tribbles 
  828. won't reproduce and so the amount of bugs is reduced.  As you know, bugs can 
  829. cause a program to crash; they do so by interfering with the electrons flowing 
  830. through the circuits of your computer.  A misdirected electron can collide with 
  831. another electron, which hits another and soon a cascade effect results wherein 
  832. your computer loses its ability to regulate the matter - antimatter flows and 
  833. so must abort in order to prevent damage.  The Bugs parameter here is an 
  834. indication of the amount of tribbles you believe are present in your system. 
  835. The Intel 486 line almost always has around 4000, and so the value of 4 should 
  836. be entered.  The higher performance processors, like the Pentium (Tm Intel), 
  837. contain many more transistors and so have correspondingly higher amounts of 
  838. bugs - 8000 is a good guess and so a value of 8 should be used.  JView uses 
  839. this information to try and anticipate the cascading affect mentioned above - 
  840. if the cascade is caught early enough it can be diffused by briefly going to 
  841. impulse power.  The details of the techniques used are presented in fascinating 
  842. detail in two seminal sources : 
  843.  
  844. Kirk, J. T. and Spock, M. The Trouble With Tribbles, Federation Press, S.D. 
  845. 1098274-5. 
  846.  
  847. and (the following paper is in Gaelic, at the time of this help file's writing 
  848. no English translations were available) 
  849.  
  850. McCoy, Dr. L., "Damma, Imadoc Tornota Programmer", Proceedings from Romulan 
  851. Acad. Conf., vol. 284, pp. 345-346, 2195. 
  852.  
  853.  
  854. ΓòÉΓòÉΓòÉ 2.5.7. Open Options ΓòÉΓòÉΓòÉ
  855.  
  856. The majority of these settings are described in Open Dialog. 
  857.  
  858. The major option not covered there is the File Mask. This is the value that 
  859. will be loaded into the File Open Dialog File Mask upon startup.  Wild cards 
  860. are valid and you can separate groups by either a space or a ;, for example 
  861. *.bmp;*.gif;*.jpg or *.bmp *.gif *.jpg are both valid. There is a slight speed 
  862. penalty for each additional group. 
  863.  
  864.  
  865. ΓòÉΓòÉΓòÉ 2.5.8. Palette Options ΓòÉΓòÉΓòÉ
  866.  
  867. Three possible options are available regarding palettes. 
  868.  
  869. First you can Overide System Colors  This allows JView to cream the system 
  870. colors when you are running in 8 bit (maximum of 256 colors) mode. These are 
  871. the colors used for dialogs, menu text, etc.  There are not that many of them, 
  872. roughly 20. The colors that the application can't place are mapped into the 
  873. closest ones the system will display. Usually the increase in image quality is 
  874. insignificant, but you might use this option if you are not going to look at 
  875. other applications while JView is running. 
  876.  
  877. Next comes Aggressive on Palette. JView loves to fight for the colors it is 
  878. using.  If another application starts changing the palette this option will 
  879. cause JView to try and change the colors back every now and then.  If you are 
  880. working with another application it can get annoying having the colors flash 
  881. and the system will slow down somewhat.  This choice is relevant only if your 
  882. system is operating in 8 bit mode. 
  883.  
  884. You can use a hot key (Alt A) to cycle this on or off.  When you do so JView 
  885. will beep a high tone when you turn it on, a low tone when it is off. 
  886.  
  887. Even while Aggresive on Palette is off whenever you make JView the active 
  888. application the palette will become reset to the correct colors. 
  889.  
  890. The above two options only affect how the image is displayed.  The actual 
  891. colors that make up the image in memory are not affected by these choices. 
  892. Display Using System Palette actually changes the colors that make up the 
  893. image.  The option will cause the image that is loaded to be diplayed using 
  894. only the colors that the system has in its default palette.  The method used to 
  895. convert to the system colors is a Floyd Steinberg error diffusion which yields 
  896. pretty good quality and has the advantage in that JView will not affect other 
  897. applications by reseting their palettes.  Also, mutlitple versions of JView can 
  898. be run and each one will not interfere with the others.  Since this will 
  899. actually change the colors of the image (not just the displayed colors) don't 
  900. use this to read and then save files if you want a true conversion.  As with 
  901. the above options, this option should only be used if your system is running in 
  902. 8 bit mode. 
  903.  
  904. You also have the option of choosing the maximum number of colors and image can 
  905. have. The choices are 256 (8 bit)  and 16.7 million (24 bit).  This is really a 
  906. function of what your video system is capable of handling. It is possible that 
  907. your display can only handle 15 or 16 bit.  Most 24 bit images will display 
  908. just fine with these video cards.  If you find a particular image shows 
  909. degradation, usually in the form of color bands, use color reduction to reduce 
  910. the image down to 15/16 bit. 
  911.  
  912.  
  913. ΓòÉΓòÉΓòÉ 2.5.9. PhotoCD Options ΓòÉΓòÉΓòÉ
  914.  
  915. If you have installed the library Dlls to read the Kodak PhotoCD file format, 
  916. you will find that various resolutions are supported.  Use the correct option 
  917. here to specify which resolution you wish the file to be loaded as. 
  918.  
  919.  
  920. ΓòÉΓòÉΓòÉ 2.5.10. Printer ΓòÉΓòÉΓòÉ
  921.  
  922. Choose the printer you wish to use as the default by double clicking on the 
  923. appropriate printer. 
  924.  
  925.  
  926. ΓòÉΓòÉΓòÉ 2.5.11. Dithering/Quantizing Options ΓòÉΓòÉΓòÉ
  927.  
  928. These are the different ways that a 24 bit image will be converted down to 8 
  929. bits so that it can be displayed when your system is only capable of 8 bit 
  930. video.  These do not apply to JPEG, which has its own options.  These are used 
  931. on Targas, PBM, PCX, and other formats that might contain 24 bit images. 
  932.  
  933. o Gray  The fastest way.  Converts image to grayscale.  Good for previewing new 
  934.   pictures. 
  935.  
  936. o Quick The fastest color way.  Not too bad but image degradations will occur. 
  937.   Image is mapped into a fixed 256 color palette.  Use this one for fast color 
  938.   previews.  The others (below) are better but much slower. 
  939.  
  940. o Compromise Good compromise between speed and quality.  It doesn't do a great 
  941.   job if the image has 10's of thousands of colors.  You have the option of 
  942.   using error diffusion with this method, which will often improve the look of 
  943.   the image. 
  944.  
  945. o Best  This implements Heckbert's Median Cut algorithm.  The best of the 
  946.   methods and also the slowest, especially when error diffusion is selected. 
  947.   Based on code by Jef Poskanzer (ppmquant.c - quantize colors). 
  948.  
  949. Using the error diffusion option will usually produce noticeably better images. 
  950. This is more true for "real life" images than for cartoon types of images. 
  951.  
  952. Quantizing (reducing down to 256 colors) isn't always needed and it is much 
  953. faster if quantizing can be avoided.  You have the ability to specify whether 
  954. the image data should be checked to see if it contains more than 256 colors. 
  955. If the images you will be looking at will mostly/always have more than 256 
  956. colors you should not do the checking as it will be a waste of time.  If the 
  957. images are almost always 256 colors or less then doing the check will speed up 
  958. file reads and assure that the images are not degraded by needlessly quantizing 
  959. them. 
  960.  
  961.  
  962. ΓòÉΓòÉΓòÉ 2.6. Selection Method ΓòÉΓòÉΓòÉ
  963.  
  964. The cropping tools (which are the same as selection tools) available here are 
  965. one of the most powerful features that you can use.  When you create an 
  966. outline, its use is not ony limited to cropping an image or copying to the 
  967. clipboard. Virtually every tool in JView is designed to function only on the 
  968. area that you have outlined.  For instance, if you were to select an area and 
  969. then choose the grayscale function, you would find that only the area selected 
  970. by the outline path would be affected. 
  971.  
  972. You have several choices for the type of crop path to create.  Freehand is used 
  973. by holding down the left mouse button and then pressing the right button at 
  974. those points where you want a control points.  Holding both down has effect of 
  975. the path following the cursor exactly.  If you make a mistake and don't want 
  976. the last point selected, hit the escape key while keeping the left mouse button 
  977. depressed.  Alternatively you can use an ellipse or a rectangle for outlining. 
  978.  
  979. The Crop Utility allows you to store a crop path for later use.  This is so you 
  980. can outline the head of a person, do some other manipulations and then bring 
  981. back the outline for reuse. 
  982.  
  983.  
  984. ΓòÉΓòÉΓòÉ 3. Other Information / Hints ΓòÉΓòÉΓòÉ
  985.  
  986. No, the hints aren't here, go in one more level. 
  987.  
  988.  
  989. ΓòÉΓòÉΓòÉ 3.1. Controls ΓòÉΓòÉΓòÉ
  990.  
  991. There are several custom controls (controls you are familiar with are buttons, 
  992. checkboxes, etc.) that JView uses.  There are described in detail in the 
  993. following subsections. 
  994.  
  995.  
  996. ΓòÉΓòÉΓòÉ 3.1.1. ColorWheel ΓòÉΓòÉΓòÉ
  997.  
  998. The colorwheel is a method of allowing you to interactively choose a color. 
  999. OS/2 uses one to allow you to choose palette information.  They all work in a 
  1000. fairly similar fashion. 
  1001.  
  1002. The JView colorwheel displays a possible color in a three part process. The 
  1003. first part is the wheel itself.  The wheel shows a circle of colors that 
  1004. represent the range of Hue and Saturation available in HSV colorspace when 
  1005. intensity is equal to 100.  The color slider (the vertical rectangle of colors) 
  1006. represents the color selected in the wheel section with intensities ranging 
  1007. from 0 to 100.  The sample holder (the little circle of color beneath the 
  1008. buttons) holds the actual color as created by the wheel and slider.  You many 
  1009. drag the color out of the color sample (use the right mouse button) or use the 
  1010. Cancel and OK buttons. 
  1011.  
  1012. You have the ability to enter colors directly by specifiying their components 
  1013. in a variety of color spaces by using the appropriate color space and values as 
  1014. entered in the spin buttons. 
  1015.  
  1016. You have the ability of finding a color anywhere on the screen by use of the 
  1017. Find button.  The color selected will be the color of the pixel under the mouse 
  1018. cursor when the right mouse button is pressed down. Note that you do not have 
  1019. to click the right mouse button, a slow press will work.  When you use Find, a 
  1020. magnified display of the area underneath the pointer is shown in the upper left 
  1021. corner of the screen.  While the right mouse button is being used to signal 
  1022. selection of a color, the left mouse button can still be used for its normal 
  1023. purpose. 
  1024.  
  1025. If your system is running with an 8 bit display a button labeled Refresh will 
  1026. appear.  Because there may be a limit on the number of colors that can be 
  1027. displayed at one time you may need to use Refresh to have the colorwheel's 
  1028. colors not be distorted. 
  1029.  
  1030.  
  1031. ΓòÉΓòÉΓòÉ 3.1.2. ColorWell ΓòÉΓòÉΓòÉ
  1032.  
  1033. This control holds the color that is of interest to the user.  The user may 
  1034. drag a new color into the well, or they may double-click the left mouse button 
  1035. to indicate that they wish to edit the color.  If an X appears across the 
  1036. control, it indicates that no color is currently selected into the control. 
  1037. When the control is disabled, it sinks a little. 
  1038.  
  1039.  
  1040. ΓòÉΓòÉΓòÉ 3.1.3. Curve Control ΓòÉΓòÉΓòÉ
  1041.  
  1042. The curve control has many variations which are controlled by the dialog that 
  1043. owns the curve control at the time in question.  For the user, the control is 
  1044. manipulated by placing the pointer over the control point on the curve that is 
  1045. of interest.  The left mouse button is then depressed and the user drags the 
  1046. control point to the desired location. 
  1047.  
  1048. The type of curve presented can be a function of between 2 and 10 points and 
  1049. can be linear or spline based.  The curve can be changed by using the right 
  1050. mouse button to bring up a popup menu which allows the user to select the 
  1051. desired settings.  In addition, curves can be saved or loaded. 
  1052.  
  1053. The curve is used as a way of visually mapping one series of points onto 
  1054. another. 
  1055.  
  1056.  
  1057. ΓòÉΓòÉΓòÉ 3.2. Drag and Drop ΓòÉΓòÉΓòÉ
  1058.  
  1059. JView supports the dragging and dropping of an image file or slideshow file 
  1060. onto either the JView Icon or onto a running version of JView.  JView will not 
  1061. accept drag and drop operations while a Slide Show is running or while a file 
  1062. is currently being read.  If you drag and drop multiple files at one time, the 
  1063. files will be loaded into a slide show and started with whatever defaults are 
  1064. currently selected as slide show options. 
  1065.  
  1066.  
  1067. ΓòÉΓòÉΓòÉ 3.3. Installation & Setup ΓòÉΓòÉΓòÉ
  1068.  
  1069. You should have seen this in the readme file included with your distribution of 
  1070. JView. 
  1071.  
  1072. We have used the philosophy that JView will impact your OS/2 system with as 
  1073. little change as possible so that if you ever decide to  get rid of JView, 
  1074. perish the thought, all you will need to do is delete the files in one 
  1075. directory. 
  1076.  
  1077. JView can be used as you got it without any system (config.sys) modifications. 
  1078. For best results you should put the JView files in a directory that is included 
  1079. in both your path statement and your libpath statement.  JView does sometimes 
  1080. create temporary files and because of this it looks to see if you have either a 
  1081. TMP or TEMP environental variable set in your config.sys.  Lots of application 
  1082. use these so you probably have them defined.  If not, you can add one by 
  1083. entering the line SET TMP=c:\os2\tmp (or whatever directory you want your temp 
  1084. files stored in) in your config.sys file.  This keeps your system nice and 
  1085. clean so that you don't get random files popping up all over the place. 
  1086.  
  1087. The last installation option is aimed at people working in a network 
  1088. environment.  You can put an environment variable called JVIEWINI that points 
  1089. to a drive and directory where you want the JView.ini file to be. This is also 
  1090. the place where the palette file (described below) and other JView (permanent) 
  1091. files will be placed.  If this variable is not present in your config.sys, 
  1092. these files get placed in the same directory as JView.exe is located.  The main 
  1093. benefit of this option is that people running on a network can have one of 
  1094. JView (exe, dlls,  and help) located on a common drive with each personal .ini 
  1095. files on each person's machine.  In your config.sys this would look like SET 
  1096. JVIEWINI=C:\IMAGES. 
  1097.  
  1098. Thats about the only change to your system that you can make regarding JView. 
  1099.  
  1100. When you run JView the first time, two files will be created.  The first is 
  1101. JView.ini which contains information about your current configuration of JView. 
  1102. The second file is JView.pal which contains the colors used in your default 
  1103. system setup.  The pal file is important when you are converting images to use 
  1104. the system colors on an 8 bit system.  When you run JView for the first time 
  1105. (and create the pal file) you should have your system setup color-wise in the 
  1106. way you will be using it.  This means that no other palette changing programs 
  1107. should be running at the time. 
  1108.  
  1109. Other files included with JView are the help files and several script and REXX 
  1110. example files.  In addition, certain functions may create files. These should 
  1111. always follow the standard of beginning with JVW or JView. 
  1112.  
  1113.  
  1114. ΓòÉΓòÉΓòÉ 3.4. Key Help ΓòÉΓòÉΓòÉ
  1115.  
  1116. There are keyboard equivalents (hot keys) to most of the basic popup menu 
  1117. commands.  Most are single character commands and will be shown on the menu 
  1118. underlined.  This is a slight departure from most software where key combos 
  1119. (like Cntrl + O) are the norm.  When a key combo is required, it is shown to 
  1120. the right of the menu command.  These hot keys are only valid when the main 
  1121. window is active.  They are: 
  1122.  
  1123. A  Auto crop the image using Average parameter 
  1124.  
  1125. Alt+A Toggle Aggessive Palette.  There will be a beep. 
  1126.  
  1127. B Batch conversion. 
  1128.  
  1129. C  Crop the image 
  1130.  
  1131. Ctrl+C  Custom crop the image using Custom Dialog 
  1132.  
  1133. F Toggle Floating Window on/off 
  1134.  
  1135. Ctrl+F Flip image Vertically 
  1136.  
  1137. Alt+F Flip image Horizontally 
  1138.  
  1139. H  Help table of contents 
  1140.  
  1141. I  Image information window 
  1142.  
  1143. Ctrl+I Iconfy the file 
  1144.  
  1145. K  This window 
  1146.  
  1147. Ctrl+N  Opens next image in Open File Dialog's file listbox 
  1148.  
  1149. Ctrl+O or O  Open a file 
  1150.  
  1151. Alt+O  Options Dialog 
  1152.  
  1153. P Print Image 
  1154.  
  1155. Ctrl+P  Opens previous image in Open File Dialog's file listbox 
  1156.  
  1157. R  Refresh image 
  1158.  
  1159. Ctrl+R Rotate image Clockwise 
  1160.  
  1161. Alt+R Rotate image CounterClockwise 
  1162.  
  1163. S  Save a file 
  1164.  
  1165. Ctrl+S  Slide Show Dialog 
  1166.  
  1167. T Toggle Title Bar on and off 
  1168.  
  1169. Z  Zoom in 
  1170.  
  1171. Ctrl+Z  Zoom out 
  1172.  
  1173. 1 Zoom factor of 100% if using scroll bars for display. 
  1174.  
  1175. 2 Zoom factor of 200% if using scroll bars for display. 
  1176.  
  1177. 3 Zoom factor of 300% if using scroll bars for display. 
  1178.  
  1179. 4 Zoom factor of 400% if using scroll bars for display. 
  1180.  
  1181. 5 Zoom factor of 500% if using scroll bars for display. 
  1182.  
  1183. Space Bar  Minimize JView (Has Option setting to disable this hot key). 
  1184.  
  1185. Alt+F7  Move the window using arrow keys, works when Title Bar is off. 
  1186.  
  1187. Alt+F4  Quit 
  1188.  
  1189. F2 Brings up the main PopUp menu. 
  1190.  
  1191. The Open File dialog has the following keyboard equivalents, they are active 
  1192. only when the Open File dialog is active.  They are: 
  1193.  
  1194. Ctrl+N Show next image. 
  1195.  
  1196. Ctrl+P Show previous image. 
  1197.  
  1198. Space Bar Minimize JView  (See space bar above). 
  1199.  
  1200.  
  1201. ΓòÉΓòÉΓòÉ 3.5. Optimizations ΓòÉΓòÉΓòÉ
  1202.  
  1203. There are three ways that you can significantly change the speed and resource 
  1204. use of JView.  What you need to think about is how you use this product.  That 
  1205. will largely determine how you set these options. 
  1206.  
  1207. First off, you have the ability to use image file readers/writers that ship 
  1208. with OS/2 Warp's BonusPak.  If you have Light Tables installed on your system 
  1209. then these readers are already present.  To install these readers from CD-ROM, 
  1210. access the \MMVIEWER directory on your BonusPak CD.  Run the program MINSTALL 
  1211. with the option /F:CONTROL.MMV.  If you have disks, run the program from the 
  1212. diskette labelled IBM Multimedia Viewer.  (See page 3-5 of the document 
  1213. labelled BonusPak that ships with Warp).  BTW, don't install them all, just the 
  1214. ones you are interested in. 
  1215.  
  1216. By installing these readers, you expand the range file formats that JView can 
  1217. use.  Some of the formats available are the Kodak PhotoCD, Apple files, Atari 
  1218. files, etc. Using these formats is slower than those that are built-in to 
  1219. JView, but this method minimizes the duplication of code that would result if 
  1220. JView had all of these built-in.  Further, as IBM releases new file formats, 
  1221. JView will instantly be able to access them without you having to purchase an 
  1222. updated version. 
  1223.  
  1224. The downside to always loading these optional formats is that the startup time 
  1225. for JView is increased and JView will use more system resources (read memory). 
  1226. But just having them installed doesn't cause them to always be loaded.  Under 
  1227. the Options dialog - the Misc section, you can specify whether to load these 
  1228. readers on startup.  If you choose not to, a command will appear under the Misc 
  1229. section of the main PopUp menu saying Load OS/2 Image Readers.  Selecting this 
  1230. at any time while JView is running will add whatever readers are present.  So, 
  1231. if you rarely use these optional formats, choose not to load them on startup. 
  1232. If you find that you need to load an image stored in one of these formats, just 
  1233. run the Load OS/2 Image Readers command and go ahead. 
  1234.  
  1235. JView has been designed in a modular manner to allow you to pick and choose 
  1236. what features you wish.  This has the side benefit of only loading those 
  1237. functions you want or need. These functions are stored in DLLs (dynamic link 
  1238. libraries) and their associated help files.  The downside to this method is 
  1239. that the startup time for JView is increased.  If you use JView mostly to view 
  1240. images and only sometimes want to use the optional features, you can specify 
  1241. that JView not load the optional Dlls on startup.  You do this by checking the 
  1242. appropriate box in the Options menu - under Misc, Load Optional Dlls on 
  1243. Startup.  Now JView will starup much faster, but you have lost access to all 
  1244. those features you may want at sometime.  Not to worry.  Just as happened 
  1245. above, a new command will appear in the Misc section of the main PopUp menu. 
  1246. This command is Load Add On Dlls. Running it will cause all the optional 
  1247. function to become available. 
  1248.  
  1249. To recap then, if most of the time you just use JView to view standard image 
  1250. files (Bitmaps, GIFs, JPEGS) and little more, turn both Load Optional Dlls on 
  1251. Startup and Check for OS/2 Image Readers on Startup off. 
  1252.  
  1253. One last area for increasing performance involves the use of temporary files. 
  1254. JView often needs to store large amounts of data but doesn't need to access 
  1255. that data often.  Typically you would use temporary files to hold this 
  1256. information instead of main memory.  The penalty for doing this is decreased 
  1257. performance.  If you have lots of memory, you can choose not to use temporary 
  1258. files by turning off Low Memory Use which is located in the Options dialog 
  1259. under the Memory section. 
  1260.  
  1261.  
  1262. ΓòÉΓòÉΓòÉ 3.6. Thread Priorities ΓòÉΓòÉΓòÉ
  1263.  
  1264. OS/2 has (for all practical purposes) 2 levels of thread priority, low(idle) 
  1265. and regular.  There seems to be a limit on the number of low priority threads 
  1266. that can be active at once.  Many applications (CPU meters, clocks, etc.) use 
  1267. low priority threads.  Along comes JView and it wants to use one.  Well OS/2 
  1268. will give JView a low priority thread, but OS/2 doesn't want to devote any CPU 
  1269. cycles to that thread.  The net effect is that nothing happens as far as JView 
  1270. processing is concerned.  Another possibility is that DOS Applications and 
  1271. certain other OS/2 programs will cause OS/2 to not give any CPU time to low 
  1272. priority threads.  If you have many applications running (or Dos programs) and 
  1273. you try something with JView and nothing seems to happen, try regular priority 
  1274. threads instead.  Most of the time with JView you can use a check box to 
  1275. specify whether a command should occur at low or regular priority or you can 
  1276. use a menu selection to alter the priority.  Some commands might start out at 
  1277. low priority.  These commands can be upgraded to regular priority by using a 
  1278. menu command. 
  1279.  
  1280.  
  1281. ΓòÉΓòÉΓòÉ 3.7. Quick Dir ΓòÉΓòÉΓòÉ
  1282.  
  1283. An especially useful feature, the Quick Dir listbox is present in several 
  1284. different dialogs.  It is only in the Options dialog the Quick Dir listbox can 
  1285. be modified. Aside from modifying the Quick Dir listbox, the Options dialog is 
  1286. not affected by it.  The format for an entry is to have a drive letter and full 
  1287. path 
  1288.  
  1289. For Example  c:\images\gif, there should not be any trailing slashes.  There is 
  1290. no limit on the number of entries. 
  1291.  
  1292. The basic use of the Quick Dir is to allow the user to quickly access 
  1293. frequently used directories. So you put directories here that you often visit, 
  1294. either for loading files or saving files.  Then, instead of having to change 
  1295. drives and move through multiple directories you simply select the place you 
  1296. want to go. 
  1297.  
  1298.  
  1299. ΓòÉΓòÉΓòÉ 3.8. Viewing Strategies ΓòÉΓòÉΓòÉ
  1300.  
  1301. Images are displayed in several ways. Three ways that are always available are 
  1302. : 1) a full size image where scroll bars appear if the image is larger than its 
  1303. display window, 2) just a simple, correctly scaled image  and 3) an image that 
  1304. starts out scaled, but if the window size changes the aspect ratio will change 
  1305. so that the picture always fills up the entire window.  These types of display 
  1306. can be modified somewhat by selecting the fixed window size attribute.  This 
  1307. option will force JView to not resize the viewing window each time a new file 
  1308. is loaded (whether by SlideShow or by File -> Open).  The user can resize the 
  1309. window at any time. 
  1310.  
  1311. The SlideShow offers two addition ways of displaying images.  See SlideShow for 
  1312. more information. 
  1313.  
  1314. The most important thing to remember when using JView is that the actual 
  1315. resolution of the image (the width x height) is not always the same as that 
  1316. which it is displayed with.  For example, let's say you are working on a system 
  1317. that is limited to a display of 640 by 480 and you try and load an image that 
  1318. is 2000 by 2000.  Assuming your are not using scroll bars, JView will resize 
  1319. the image to fit the screen when it displays the image to you, but the data 
  1320. representing the image will stay at 2000 by 2000.  Any operations 
  1321. (manipulations) that you perform on the image will by done on the original 
  1322. image, the 2000 by 2000 one.  Now, let's say you use the ReSize command to 
  1323. reduce the image to 640 by 480.  From as far as you can tell, nothing will have 
  1324. changed.  This is because the image size is still as big as the display can 
  1325. handle.  In reality you have changed the image size and if you save the image 
  1326. it will be different than the one you originally loaded.  The Image Information 
  1327. option on the main menu will keep you apprised of the actual vs displayed 
  1328. resolution of the current image.  When you save a file there is the option to 
  1329. save at the currently displayed size, the above discussion is why that option 
  1330. exists. 
  1331.  
  1332.  
  1333. ΓòÉΓòÉΓòÉ 4. File Formats ΓòÉΓòÉΓòÉ
  1334.  
  1335. A variety of file formats are supported.  See each individual one for more 
  1336. info. 
  1337.  
  1338. You should be aware of some limitations when doing conversions between 
  1339. different file formats or if you are constantly reading and saving the same 
  1340. image over and over again (See JPEG).  When JView reads a file, no matter what 
  1341. the original format, it is stored as an 8 bit image (256 colors max), unless 
  1342. your have indicated that your system palette can handle 16 million colors (24 
  1343. bit). This means that if you read in a JPEG, TARGA, Sun Raster, or PPM image 
  1344. there exists the possibility that the original file is made up of more than 256 
  1345. colors and so JView will reduce the colors down to 256.  So, if your goal is to 
  1346. convert a 24 bit image to another 24 bit format, the intermediate stage will 
  1347. cause a reduction to 8 bit if your system is setup for 8 bit graphics.  Because 
  1348. of this there is a very good chance that your image will suffer a loss in 
  1349. quality. 
  1350.  
  1351. Eight bit formats will not suffer any degradation. 
  1352.  
  1353.  
  1354. ΓòÉΓòÉΓòÉ 4.1. JPEG ΓòÉΓòÉΓòÉ
  1355.  
  1356. The JPEG reading and writing code is based on the following people's work: 
  1357.  
  1358. The Independent JPEG Group's JPEG software
  1359. ==========================================
  1360.  
  1361. This software is the work of Tom Lane, Philip Gladstone, Luis Ortiz, Jim
  1362. Boucher, Lee Crocker, George Phillips, Davide Rossi, Ge' Weijers, and other
  1363. members of the Independent JPEG Group.
  1364.  
  1365. LEGAL ISSUES
  1366. ============
  1367.  
  1368. The authors make NO WARRANTY or representation, either express or implied,
  1369. with respect to this software, its quality, accuracy, merchantability, or
  1370. fitness for a particular purpose.  This software is provided "AS IS", and you,
  1371. its user, assume the entire risk as to its quality and accuracy.
  1372.  
  1373. This software is copyright (C) 1991, 1992, 1993, 1994, 1995, Thomas G. Lane.
  1374. All Rights Reserved except as specified below.
  1375.  
  1376. Permission for use of this software is granted only if the user accepts
  1377. full responsibility for any undesirable consequences; the authors accept
  1378. NO LIABILITY for damages of any kind.
  1379.  
  1380. Permission is NOT granted for the use of any IJG author's name or company name
  1381. in advertising or publicity relating to this software or products derived from
  1382. it.  This software may be referred to only as "the Independent JPEG Group's
  1383. software".
  1384.  
  1385. We specifically permit and encourage the use of this software as the basis of
  1386. commercial products, provided that all warranty or liability claims are
  1387. assumed by the product vendor.
  1388. ==================
  1389.  
  1390. The Quality setting affectst the size of file that the JPEG save routine will 
  1391. create.  It lets you trade off compressed file size against the quality of the 
  1392. saved image: the higher the quality setting, the larger the JPEG file, and the 
  1393. closer the output image will be to the original input.  Normally you want to 
  1394. use the lowest quality setting (smallest file) that decompresses into something 
  1395. visually indistinguishable from the original image.  For this purpose the 
  1396. quality setting should be between 50 and 95; the default of 75 is often about 
  1397. right.  If you see defects at quality 75, then go up 5 or 10 units at a time 
  1398. until you are happy with the output image.  The optimal setting is an aesthetic 
  1399. judgement that varies image to image. Quality values above about 95 are NOT 
  1400. recommended for normal use; the compressed file size goes up dramatically for 
  1401. hardly any gain in output image quality. In the other direction, quality values 
  1402. below 50 will produce very small files of low image quality.  Settings around 5 
  1403. to 10 might be useful in preparing an index of a large image library, for 
  1404. example.  Try quality 2 (or so) for some amusing Cubist effects.  (Note: 
  1405. quality values below about 25 generate 2-byte quantization tables, which are 
  1406. considered optional in the JPEG standard. Some commercial JPEG programs may be 
  1407. unable to decode the resulting file.) 
  1408.  
  1409. Smooth Factor: Smooth the input image to eliminate dithering noise.  The value 
  1410. selected, ranging from 1 to 100, indicates the strength of smoothing.  0 will 
  1411. mean to not use smoothing and can be used instead of the check button.  The 
  1412. Smooth option filters the currently displayed image to eliminate fine-scale 
  1413. noise. A smoothing factor of 10 to 50 gets rid of dithering patterns in the 
  1414. input file, resulting in a smaller JPEG file and a better-looking image.  Too 
  1415. large a smoothing factor will visibly blur the image. 
  1416.  
  1417. Optimization of entropy encoding parameters. Without this, default encoding 
  1418. parameters are used. Optimize usually makes the JPEG file a little smaller, but 
  1419. JView runs somewhat slower and needs much more memory.  Image quality and speed 
  1420. of decompression are unaffected by optimize. It's also a win when you are using 
  1421. low quality settings to make very small JPEG files; the percentage improvement 
  1422. is often a lot more than it is on larger files. 
  1423.  
  1424. The DCT method can be either Fast, Slow, or Float.  The DCT refers to the 
  1425. transform used to create the actual JPEG data.  Ideally it is a floating point 
  1426. process.  If your computer has its own floating point processor, you may get 
  1427. superior performance by choosing Float (for floating point).  The other two 
  1428. options refer to using integer methods to duplicate the floating point 
  1429. calculations.  Fast, duh, is faster than the Slow method, but less accurate. 
  1430. The DCT is used for both reading a writing of JPEGs. 
  1431.  
  1432. When reading a JPEG on an 8 bit system, there are five mutually exclusive 
  1433. option that deals with quantization of the colors (converting from a 24 to 8 
  1434. bit image).  Your options are: 
  1435.  
  1436. o Quick  The one pass color quantization.  The fastest of the color 
  1437.   quantizings, but probably will result in a noticeably inferior image.  Good 
  1438.   for a quick look. 
  1439.  
  1440. o Slow  This implements Heckbert's Median Cut algorithm.  Quality in line with 
  1441.   Best.  Very slow compared to the builtin JPEG quantizer.  For most JPEGs it 
  1442.   will probably give only minor quality improvements. Make your own judgment. 
  1443.   It is not part of the regular JPEG libraries. 
  1444.  
  1445. o Best  Floyd-Steinberg dithering is used.  Based on ppmquant.c by Jef 
  1446.   Poskanzer. 
  1447.  
  1448. o BuiltIn  Uses the JPEG libraries built-in two pass quantizer.  This is the 
  1449.   recommended choice. 
  1450.  
  1451. o Gray  Hands down the fastest way to look at a JPEG.  Results in gray colors 
  1452.   only, but good way to take a quick look. 
  1453.  
  1454. When quantization takes place, you can optionally specify a dithering method. 
  1455. Your choices are Floyd Steinberg (the recommended choice), Ordered and None. 
  1456. Dithering is a method of introducing error into the image that actually make it 
  1457. look better.  Seeing is believing. 
  1458.  
  1459.  
  1460. ΓòÉΓòÉΓòÉ 4.2. Bitmaps ΓòÉΓòÉΓòÉ
  1461.  
  1462. The two important types of bitmaps supported are Windows and OS/2 style 
  1463. bitmaps. JView should read any of these type of bitmaps (RLE and non-RLE) with 
  1464. the following caveats: 
  1465.  
  1466. o Black and White images that are stored by using modified Huffman encoding 
  1467.   cannot be read. 
  1468.  
  1469. o OS/2 allows the use of halftones and such.  JView does not read these but no 
  1470.   one has ever seen one. 
  1471.  
  1472. Bitmaps can be saved in either RLE on uncompressed format.  The RLE encoding 
  1473. scheme is fairly brain dead and will actually increase the size of the file for 
  1474. "real life" images with more than 16 colors.  JView does some comparing and 
  1475. will minimize the file size to its best ability so you should only see slight 
  1476. increases in file size but then again you may see a significant decrease.  You 
  1477. pay your money and you takes your chances. 
  1478.  
  1479.  
  1480. ΓòÉΓòÉΓòÉ 4.3. GIF ΓòÉΓòÉΓòÉ
  1481.  
  1482. Does em'. 
  1483.  
  1484. JView will read both GIF87a and GIF89a formats but will write only GIF87a 
  1485. format. If a mulit-image gif file is encountered you will have the option of 
  1486. breaking the images apart and creating a sequence of OS/2 bitmaps from them or 
  1487. just reading the first image. 
  1488.  
  1489. "The Graphics Interchange Format(c) is the Copyright property of
  1490. CompuServe Incorporated.  GIF(sm) is a Service Mark property of
  1491. CompuServe Incorporated."
  1492.  
  1493.  
  1494. ΓòÉΓòÉΓòÉ 4.4. TARGA ΓòÉΓòÉΓòÉ
  1495.  
  1496. The code to read Targa images is based on tgatoppm.c by Jef Poskanzer.  This is 
  1497. the copyright stuff from that file. 
  1498.  
  1499. /* tgatoppm.c - read a TrueVision Targa file and write a portable pixmap
  1500. ** Partially based on tga2rast, version 1.0, by Ian MacPhedran.
  1501. ** Copyright (C) 1989 by Jef Poskanzer.
  1502. ** Permission to use, copy, modify, and distribute this software and its
  1503. ** documentation for any purpose and without fee is hereby granted, provided
  1504. ** that the above copyright notice appear in all copies and that both that
  1505. ** copyright notice and this permission notice appear in supporting
  1506. ** documentation.  This software is provided "as is" without express or
  1507. ** implied warranty.
  1508.  
  1509. JView does both RLE and non-RLE style files. 
  1510.  
  1511.  
  1512. ΓòÉΓòÉΓòÉ 4.5. PBM ΓòÉΓòÉΓòÉ
  1513.  
  1514. JView uses the term PBM loosely, there are really three (or six) different 
  1515. types of formats here.  They are: 
  1516.  
  1517.              PGM - portable graymap file format
  1518.  
  1519.    The portable graymap format is a lowest common denominator grayscale file
  1520.    format.  The definition is as follows:
  1521.  
  1522.    - A "magic number" for identifying the file type.  A  pgm  file's  magic
  1523.     number is the two characters "P2".
  1524.  
  1525.    - Whitespace (blanks, TABs, CRs, LFs).
  1526.  
  1527.    - A width, formatted as ASCII characters in decimal.
  1528.  
  1529.    - Whitespace.
  1530.  
  1531.    - A height, again in ASCII decimal.
  1532.  
  1533.    - Whitespace.
  1534.  
  1535.    - The maximum gray value, again in ASCII decimal.
  1536.  
  1537.    - Whitespace.
  1538.  
  1539.    - Width * height gray values, each in ASCII decimal, between  0  and  the
  1540.     specified  maximum value, separated by whitespace, starting at the top-
  1541.     left corner of the graymap, proceding in normal English reading  order.
  1542.     A value of 0 means black, and the maximum value means white.
  1543.  
  1544.    - Characters from a "#" to the next end-of-line are ignored (comments).
  1545.  
  1546.    - No line should be longer than 70 characters.
  1547.  
  1548.    Here is an example of a small graymap in this format:
  1549.    P2
  1550.    # feep.pgm
  1551.    24 7
  1552.    15
  1553.    0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  1554.    0  3  3  3  3  0  0  7  7  7  7  0  0 11 11 11 11  0  0 15 15 15 15  0
  1555.    0  3  0  0  0  0  0  7  0  0  0  0  0 11  0  0  0  0  0 15  0  0 15  0
  1556.    0  3  3  3  0  0  0  7  7  7  0  0  0 11 11 11  0  0  0 15 15 15 15  0
  1557.    0  3  0  0  0  0  0  7  0  0  0  0  0 11  0  0  0  0  0 15  0  0  0  0
  1558.    0  3  0  0  0  0  0  7  7  7  7  0  0 11 11 11 11  0  0 15  0  0  0  0
  1559.    0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0
  1560.  
  1561.  
  1562.    There is also a variant on the format, the RAW style.
  1563.    This variant is different in the following ways:
  1564.  
  1565.    - The "magic number" is "P5" instead of "P2".
  1566.  
  1567.    - The gray values are stored as plain bytes, instead of ASCII decimal.
  1568.  
  1569.    - No whitespace is allowed in  the  grays  section,  and  only  a  single
  1570.     character  of  whitespace  (typically  a  newline) is allowed after the
  1571.     maxval.
  1572.  
  1573.    - The files are smaller and many times faster to read and write.
  1574.  
  1575.    Note that this raw format can only be used for maxvals less than or equal
  1576.    to 255.
  1577.  
  1578.           PBM - portable bitmap file format
  1579.  
  1580.    The portable bitmap format is a lowest common denominator monochrome file
  1581.    format.  It was originally designed to make it reasonable to mail bitmaps
  1582.    between different types of machines  using  the  typical  stupid  network
  1583.    mailers  we  have today.  Now it serves as the common language of a large
  1584.    family of bitmap conversion filters.  The definition is as follows:
  1585.  
  1586.    - A "magic number" for identifying the file type.  A  pbm  file's  magic
  1587.     number is the two characters "P1".
  1588.  
  1589.    - Whitespace (blanks, TABs, CRs, LFs).
  1590.  
  1591.    - A width, formatted as ASCII characters in decimal.
  1592.  
  1593.    - Whitespace.
  1594.  
  1595.    - A height, again in ASCII decimal.
  1596.  
  1597.    - Whitespace.
  1598.  
  1599.    - Width * height bits, each either '1' or '0', starting at  the  top-left
  1600.     corner of the bitmap, proceding in normal English reading order.
  1601.  
  1602.    - The character '1' means black, '0' means white.
  1603.  
  1604.    - Whitespace in the bits section is ignored.
  1605.  
  1606.    - Characters from a "#" to the next end-of-line are ignored (comments).
  1607.  
  1608.    - No line should be longer than 70 characters.
  1609.  
  1610.    Here is an example of a small bitmap in this format:
  1611.    P1
  1612.    # feep.pbm
  1613.    24 7
  1614.    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  1615.    0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 1 1 1 0
  1616.    0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 1 0
  1617.    0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 1 0
  1618.    0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0
  1619.    0 1 0 0 0 0 0 1 1 1 1 0 0 1 1 1 1 0 0 1 0 0 0 0
  1620.    0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  1621.  
  1622.  
  1623.    There is also a variant on the format, the RAW style.
  1624.    This variant is different in the following ways:
  1625.  
  1626.    - The "magic number" is "P4" instead of "P1".
  1627.  
  1628.    - The bits are stored eight per byte, high bit first low bit last.
  1629.  
  1630.    - No whitespace is allowed  in  the  bits  section,  and  only  a  single
  1631.     character  of  whitespace  (typically  a  newline) is allowed after the
  1632.     height.
  1633.  
  1634.    - The files are eight times smaller and many times  faster  to  read  and
  1635.     write.
  1636.  
  1637.               PPM - portable pixmap file format
  1638.  
  1639.    The portable pixmap format is a lowest  common  denominator  color  image
  1640.    file format.  The definition is as follows:
  1641.  
  1642.    - A "magic number" for identifying the file type.  A  ppm  file's  magic
  1643.     number is the two characters "P3".
  1644.  
  1645.    - Whitespace (blanks, TABs, CRs, LFs).
  1646.  
  1647.    - A width, formatted as ASCII characters in decimal.
  1648.  
  1649.    - Whitespace.
  1650.  
  1651.    - A height, again in ASCII decimal.
  1652.  
  1653.    - Whitespace.
  1654.  
  1655.    - The maximum color-component value, again in ASCII decimal.
  1656.  
  1657.    - Whitespace.
  1658.  
  1659.    - Width * height pixels, each three ASCII decimal values  between  0  and
  1660.     the  specified  maximum  value,  starting at the top-left corner of the
  1661.     pixmap, proceding in normal English reading order.  The  three  values
  1662.     for each pixel represent red, green, and blue, respectively; a value of
  1663.     0 means that color is off, and the maximum value means  that  color  is
  1664.     maxxed out.
  1665.  
  1666.    - Characters from a "#" to the next end-of-line are ignored (comments).
  1667.  
  1668.    - No line should be longer than 70 characters.
  1669.  
  1670.    Here is an example of a small pixmap in this format:
  1671.    P3
  1672.    # feep.ppm
  1673.    4 4
  1674.    15
  1675.    0  0  0   0  0  0   0  0  0  15  0 15
  1676.    0  0  0   0 15  7   0  0  0   0  0  0
  1677.    0  0  0   0  0  0   0 15  7   0  0  0
  1678.    15  0 15   0  0  0   0  0  0   0  0  0
  1679.  
  1680.    There is also a variant on the format, the RAW style.
  1681.    This variant is different in the following ways:
  1682.  
  1683.    - The "magic number" is "P6" instead of "P3".
  1684.  
  1685.    - The pixel values are stored as plain bytes, instead of ASCII decimal.
  1686.  
  1687.    - Whitespace is not allowed  in  the  pixels  area,  and  only  a  single
  1688.     character  of  whitespace  (typically  a  newline) is allowed after the
  1689.     maxval.
  1690.  
  1691.    - The files are smaller and many times faster to read and write.
  1692.  
  1693.    Note that this raw format can only be used for maxvals less than or equal
  1694.    to 255.
  1695.  
  1696.    The above three descriptions are very slightly altered versions of descriptions
  1697.    originally written and Copyrighted (C) 1989, 1991 by Jef Poskanzer.
  1698.  
  1699. So, if you need to input a file format that JView does not support, here is 
  1700. your chance if you know the format of the data you already have.  Convert the 
  1701. data into the appropriate ASCII format style above.  It is probably simplest 
  1702. just to use the ppm format and let JView convert it down into the appropriate 
  1703. number of colors. 
  1704.  
  1705.  
  1706. ΓòÉΓòÉΓòÉ 4.6. X11 Bitmap ΓòÉΓòÉΓòÉ
  1707.  
  1708. The X11 format is for black and white images only. 
  1709.  
  1710.  
  1711. ΓòÉΓòÉΓòÉ 4.7. Sun Raster ΓòÉΓòÉΓòÉ
  1712.  
  1713. Nothing too exciting to say here, it just does it. 
  1714.  
  1715.  
  1716. ΓòÉΓòÉΓòÉ 4.8. PCX ΓòÉΓòÉΓòÉ
  1717.  
  1718. The code for reading and writing PCX files is based on work by Michael 
  1719. Davidson.  There have been significant changes, including the ability to handle 
  1720. 24 bit images.  This should handle up to version 5 PCX. 
  1721.  
  1722.  
  1723. ΓòÉΓòÉΓòÉ 4.9. TIFF ΓòÉΓòÉΓòÉ
  1724.  
  1725. The code for reading and writting TIFFs is based on code written by Sam 
  1726. Leffler.  Here is his copyright notice. 
  1727.  
  1728. /*
  1729.  * Copyright (c) 1991, 1992 Sam Leffler
  1730.  * Copyright (c) 1991, 1992 Silicon Graphics, Inc.
  1731.  *
  1732.  * Permission to use, copy, modify, distribute, and sell this software and
  1733.  * its documentation for any purpose is hereby granted without fee, provided
  1734.  * that (i) the above copyright notices and this permission notice appear in
  1735.  * all copies of the software and related documentation, and (ii) the names of
  1736.  * Sam Leffler and Silicon Graphics may not be used in any advertising or
  1737.  * publicity relating to the software without the specific, prior written
  1738.  * permission of Sam Leffler and Silicon Graphics.
  1739.  *
  1740.  * THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  1741.  * EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  1742.  * WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  1743.  *
  1744.  * IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  1745.  * ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  1746.  * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  1747.  * WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  1748.  * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  1749.  * OF THIS SOFTWARE.
  1750.  */
  1751.  
  1752. When you save a TIFF file, there are five choices for the type of TIFF file to 
  1753. stored.  The FAX choices will be reduced to black and white images first. 
  1754.  
  1755. Understanding the TIFF specification is beyond the capabilites of most mortals 
  1756. and we will not even begin to think about getting into it in detail.  If your 
  1757. TIFF files are not displaying correctly, well tough tiff, it is beyond our 
  1758. capabilities to go in and mess with the library supplied by Sam Leffler. 
  1759.  
  1760.  
  1761. ΓòÉΓòÉΓòÉ 4.10. Utah RLE ΓòÉΓòÉΓòÉ
  1762.  
  1763. JView only reads Utah RLE files, it will not write them. 
  1764.  
  1765.  
  1766. ΓòÉΓòÉΓòÉ 4.11. MetaFiles ΓòÉΓòÉΓòÉ
  1767.  
  1768. JView will only read MetaFiles, it will not write them.  Meta files are 
  1769. actually a series of drawing commands and so you can imagine how big a file 
  1770. would be if every command was to draw a single point at some color (well, WE 
  1771. can imagine it at least).  JView will size the MetaFile to display onto the 
  1772. screen and then create a raster version of it.  You cannot stop a MetaFile from 
  1773. playing once it has started. 
  1774.  
  1775. Since MetaFiles are played and not just displayed, JView will not perform batch 
  1776. conversions on them. 
  1777.  
  1778.  
  1779. ΓòÉΓòÉΓòÉ 4.12. Slide Show Files ΓòÉΓòÉΓòÉ
  1780.  
  1781. JView can store a selection of files for use in a Slide Show.  These typically 
  1782. are given and extension of sls.  You can load these files using the Slide Show 
  1783. Dialog or the regular File Open Dialog.  In addition, you can drag and drop 
  1784. such a file onto JView to begin play. 
  1785.  
  1786.  
  1787. ΓòÉΓòÉΓòÉ 4.13. Other File Formats ΓòÉΓòÉΓòÉ
  1788.  
  1789. JView has the ability to tap into file formats supported by Warp but not 
  1790. actually built into JView.  See Additional Formats  for detailed info. 
  1791.  
  1792.  
  1793. ΓòÉΓòÉΓòÉ 5. REXX Scripts ΓòÉΓòÉΓòÉ
  1794.  
  1795. One of the more powerful features of OS/2 is its command language, REXX.  JView 
  1796. has the ability to run and interact with REXX scripts.  If a REXX script is 
  1797. dragged onto JView, or a REXX file is opened, that file will be run by JView. 
  1798. The REXX files should be designed to work with JView, to that end when such a 
  1799. file is being run by JView several REXX commands become available so that the 
  1800. REXX file can interact with JView. 
  1801.  
  1802. When JView is running a REXX script, several commands are available.  They are 
  1803. called just like any REXX command, with either 
  1804.  
  1805. call JVWcommand("hello_there")
  1806. or
  1807. JVWcommand "hello_there"
  1808.  
  1809. Included with the distribution disk that JView comes on are two example REXX 
  1810. files, example.cmd and povshow.cmd.  The files in conjunction with this help 
  1811. section should provide you with enough information to write your own REXX 
  1812. files. 
  1813.  
  1814. The descriptions of the commands that follow will list the command names in 
  1815. alphabetical order.  Beside each command will be a description of what the 
  1816. command does and a listing of any required arguments.  When an argument is 
  1817. described as a string, it means that alpahnumeric text is required - this is 
  1818. contrasted with a number or integer.  "hello" is a string while 456 is an 
  1819. integer. All numeric information must be integers, no decimals should be used. 
  1820.  
  1821. o JVWCropImage.  This command is used to crop the current image.  There are 
  1822.   four required arguments, all integers, and they specify the lower left corner 
  1823.   and upper right corner of the cropping region.  In order they are the left 
  1824.   most X position, the bottom most Y position, the right most X position, and 
  1825.   the top most Y position.  An example is 
  1826.  
  1827.     call JVWCropImage(10, 20, 400, 500)
  1828.  
  1829.   Assuming your image starts out being 1000 by 1000, this command would cause 
  1830.   all pixels to the left of 10, below 20, right of 400 and above 500 to be 
  1831.   discarded. 
  1832.  
  1833.  
  1834. o JVWFlipImage.  This command will flip the image either horizontally or 
  1835.   vertically depending on the supplied argument.  One argument is required and 
  1836.   should be a string that is either "horizontal" or "vertical".  An example is 
  1837.  
  1838.     call JVWFlipImage("vertical")
  1839.  
  1840. o JVWGetImageInfo  This command does not use any arguments.  It does return 
  1841.   information in the form of a string that needs to be parsed for the 
  1842.   individual values.  The parameters that make up the returned string are: 
  1843.   image width, image height, image depth (8 or 24), number of unique colors 
  1844.   (only significant for 8 bit images), window X position, window Y position, 
  1845.   window width, window height, a string that is either "crop_on" or "crop_off" 
  1846.   which informs whether a cropping (selection) region is active, and four 
  1847.   integers that represent the lower left corner (x, y) and upper right corner 
  1848.   (x, y) of the cropping rectangle if it is on.  An example of its use is 
  1849.  
  1850.     rc = JVWGetImageInfo()
  1851.     PARSE VAR rc width height depth colors position_x position_y window_width window_height crop_status crop_left crop_bottom crop_right crop_top
  1852.  
  1853. o JVWOpenFile  This command causes a new image to be loaded.  It has one or two 
  1854.   arguments, both strings.  The first argument is the name of the file to be 
  1855.   loaded.  It should include a drive and full path.  The second argument is 
  1856.   optional and signals whether a low priority thread should be used for the 
  1857.   loading.  The second argument would be "low" if it is used.  Two examples 
  1858.  
  1859.     call JVWOpenFile("c:\image\judy.jpg", "low") - a low priority read.
  1860.     call JVWOpenFile("c:\image\judy.jpg") - a regular priority read.
  1861.  
  1862. o JVWResizeImage.  This command resizes the image to the specified dimensions. 
  1863.   Two arguments are required, both should be integers.  They are, in order, the 
  1864.   new width and the new height.  An example is 
  1865.  
  1866.     call JVWResizeImage(500, 1000)
  1867.  
  1868.   This would make the image 500 pixels wide and 1000 pixels high. 
  1869.  
  1870.  
  1871. o JVWRotateImage.  This command will rotate the image 90 degrees in either the 
  1872.   clockwise or counterclockwise direction.  One argument is required and should 
  1873.   be a string that is either "clockwise" or "counterclockwise".  An example is 
  1874.  
  1875.     call JVWRotateImage("clockwise")
  1876.  
  1877. o JVWSaveFile  This command is used to save the current image.  The command 
  1878.   requires two arguments and has two optional argurments.  All arguments are 
  1879.   strings.  The first argument is the file name.  It shoud include the drive 
  1880.   and path. The next argument is the file type, it must be one of the 
  1881.   following: "os2", "os2_rle", "windows", "windows_rle", "x11", "gif", "jpeg", 
  1882.   "pbm_ascii", "pbm_raw", "pcx", "sun", "targa", "targa_rle", "tiff_none", 
  1883.   "tiff_lzw", "tiff_pack", "tiff_fax_3", or "tiff_fax_4".  The next argument is 
  1884.   optional and dictates the color depth of the saved image.  A value of "full" 
  1885.   will not alter the color depth.  A value of "gray" will cause the image to be 
  1886.   saved as grayscale, while "bw" will cause the image to become black and 
  1887.   white.  The next argument is also optional and is either "low" or "high" and 
  1888.   refers to the priority of the save thread. 
  1889.  
  1890.   Note:  that if you wish to indicate a save priority that you have to also 
  1891.   specify a color depth.  Examples would be 
  1892.  
  1893.     call JVWSaveFile("c:\image\jane.jpg", "jpeg", "gray", "low)
  1894.     or
  1895.     call JVWSaveFile("c:\image\jane.bmp", "os2")
  1896.     but
  1897.     call JVWSaveFile("c:\image\tarzan.x11", "x11", "high")
  1898.     is invalid because a color depth was not specified.
  1899.  
  1900. o JVWSay  This is mostly useful as a debugging command to verify that the 
  1901.   arguments you are passing are correct.  Any number of arguments are used, 
  1902.   each one is displayed in a message box.  It can be used to tell the user that 
  1903.   the script is complete, or for some other signal.  An example 
  1904.  
  1905.     call JVWSay("hello")
  1906.  
  1907. o JVWSetOption  This is used to set a variety of options.  The number and type 
  1908.   of arguments will vary depending on the option that is being set.  The 
  1909.   possible arguments are: 
  1910.  
  1911.    - "fixed_window" This will have two arguments.  The first will be the string 
  1912.      "fixed_window" while the second will also be a string and be either "on" 
  1913.      or "off".  Using these arguments will dictate whether a new image load 
  1914.      will cause display resizing.  An example is 
  1915.  
  1916.           call JVWSetOptions("fixed_window", "on")
  1917.  
  1918.    - "jpeg_quantize" This will have two arguments, both strings.  The first 
  1919.      will be "jpeg_quantize" while the second will be either "quick" or "slow". 
  1920.      This will set jpeg quantizing to use either the quick method or the 2 pass 
  1921.      regular (slow) method.  An example is 
  1922.  
  1923.           call JVWSetOptions("jpeg_quant", "quick")
  1924.  
  1925.    - "quantize" This will have two or three arguments, both strings.  The first 
  1926.      is "quantize" while the second will be one of "quick", "slow", 
  1927.      "compromise", "gray" or "error".  If the second argurment is "error" then 
  1928.      a third argument is required and it is either "on" or "off".  The first 
  1929.      four options refer to how quantizing (reducing an image from 24 bit to 8 
  1930.      bit) takes place.  They are analogous to the methods that can be selected 
  1931.      with the regular options dialog.  The "error" argument refers to error 
  1932.      diffusion which can be set on or off.  Two examples 
  1933.  
  1934.           call JVWSetOptions("quantize", "slow")
  1935.           or
  1936.           call JVWSetOptions("quantize", "error", "on")
  1937.  
  1938. o JVWSetSelectionMethod  Is used to choose the type of selection method 
  1939.   (cropping method).  One argument is required and is one of "rectangle", 
  1940.   "ellipse", or "freehand".  An example 
  1941.  
  1942.     call JVWSetSelectionMethod("freehand")
  1943.  
  1944. o JVWSizeWindow  This command is used to resize and/or move the display window. 
  1945.   The number of arguments can vary.  The arguments are: 
  1946.  
  1947.    - "move" This will require three additional arguments, one string and two 
  1948.      integers.  The string will be either "relative" or "absolute".  This 
  1949.      dictates whether the move will be to an absolute position on the screen or 
  1950.      relative to the current position.  The last two arguments, both integers, 
  1951.      are the new position.  The horizontal value is first and the vertical 
  1952.      value last.  An example is 
  1953.  
  1954.           call JVWSizeWindow("move", "relative", 40, 50)
  1955.      This would cause the current window to move over 40 pixels and up 50. 
  1956.    - "size"  Follows a similar format to "move".  This will resize the display 
  1957.      window (just the display window, not the actual image data).  It requires 
  1958.      three additional arguments, one string and two integers.  The string will 
  1959.      be either "relative" or "absolute".  This dictates whether the size change 
  1960.      is to absolute values or relative to current values. The third and fourth 
  1961.      arguments are the width and hieght changes. An example is 
  1962.  
  1963.           call JVWSizeWindow("size", "absolute", 100, 200)
  1964.      This would change the window's size to 100 pixels wide and 200 pixels 
  1965.      high. 
  1966.  
  1967.  
  1968.    - "invisible" Is used to change the visibility state of the window to 
  1969.      hidden.  No other arguments are used with it.  An example is 
  1970.  
  1971.           call JVWSizeWindow("invisible")
  1972.  
  1973.    - "visible" is used to change the visibility to state to visible.  No other 
  1974.      arguments are used with it.  An example is 
  1975.  
  1976.           call JVWSizeWindow("visible")
  1977.  
  1978.  
  1979. ΓòÉΓòÉΓòÉ 6. Copyright ΓòÉΓòÉΓòÉ
  1980.  
  1981. Crunch Products makes NO WARRANTY or representation, either expressed or 
  1982. implied, with respect to JView, its quality, accuracy, merchantability, or 
  1983. fitness for a particular purpose.  This software is provided "AS IS", and you, 
  1984. its user, assume the entire risk as to its quality and accuracy. 
  1985.  
  1986. This software is copyright (C) 1992, 1993, 1994, 1995 V. Joseph Burkley, Crunch 
  1987. Products. All Rights Reserved except as specified below. 
  1988.  
  1989. (1) Permission for use of this software is granted only if the user accepts 
  1990. full responsibility for any undesirable consequences; Crunch Products accepts 
  1991. NO LIABILITY for damages of any kind. 
  1992.  
  1993. (2) Permission is NOT granted for the use of the authors' names or company name 
  1994. in advertising or publicity relating to this software or products derived from 
  1995. it.  Such permission may be granted on a case by case basis, contact Crunch 
  1996. Products for further information.